package com.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 考试计划
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "exam_plan")
public class ExamPlan {


    /**
     * 考试计划id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 关联课程表
     */
    @TableField(value = "course_id")
    private Integer courseId;

    /**
     * 管理班级表
     */
    @TableField(value = "classes_id")
    private Integer classesId;

    /**
     * 关联试卷表
     */
    @TableField(value = "exam_paper_id")
    private Integer examPaperId;

    /**
     * 开始时间
     */
    @TableField(value = "begin_time")
    private Date beginTime;

}
